package com.farm.shop.service;


import com.farm.common.utils.Query;
import com.farm.shop.domain.ScenicDO;

import java.util.List;
import java.util.Map;

/**
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-09-15 08:56:11
 */
public interface ScenicService {

    ScenicDO get(Integer scenicid);

    List<ScenicDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(ScenicDO scenic);

    int update(ScenicDO scenic);

    int remove(Integer scenicid);

    int batchRemove(Integer[] scenicids);

    List<ScenicDO> searchName(Map<String, Object> query);

    int searchNameCount(Map<String, Object> query);
}
